import request from '@/utils/request'

// 查询采供总清单明细列表
export function listRyDepotDetail(query) {
  return request({
    url: '/purchase/ryDepotDetail/list',
    method: 'get',
    params: query
  })
}

// 查询采供总清单明细详细
export function getRyDepotDetail(id) {
  return request({
    url: '/purchase/ryDepotDetail/' + id,
    method: 'get'
  })
}

// 新增采供总清单明细
export function addRyDepotDetail(data) {
  return request({
    url: '/purchase/ryDepotDetail',
    method: 'post',
    data: data
  })
}

// 修改采供总清单明细
export function updateRyDepotDetail(data) {
  return request({
    url: '/purchase/ryDepotDetail',
    method: 'put',
    data: data
  })
}

// 删除采供总清单明细
export function delRyDepotDetail(id) {
  return request({
    url: '/purchase/ryDepotDetail/' + id,
    method: 'delete'
  })
}
